<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtquickhandlers.qdoc -->
  <title>Qt Quick Pointer Handlers QML Types | Qt Quick 5.11</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtquick-index.html">Qt Quick</a></td><td >
			Qt Quick 的Pointer Handlers QML 类型</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.11.1 参考指南</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Quick <span lang="zh-cn">的</span>Pointer Handlers QML
<span lang="zh-cn">类型</span></h1>
<span class="subtitle"></span>
<!-- $$$Qt.labs.handlers-description -->
<div class="descr"> <a name="details"></a>
<p><a href="qtquickhandlers-index.html">Qt Quick Pointer Handlers</a>模块提供的QML类型，用于处理UI中指向设备的事件。这些QML类型与。<a href="qtquick-index.html">Qt Quick</a>一起工作</p>
<p>可以在使用.qml文件中使用以下import语句将QML类型导入到应用程序中。</p>
<pre class="cpp">

  import <span class="type"><a href="../qtqml/qml-qtqml-qt.html">Qt</a></span><span class="operator">.</span>labs<span class="operator">.</span>handlers <span class="number">1.0</span>

</pre>
</div>
<!-- @@@Qt.labs.handlers -->
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-draghandler.html">DragHandler</a></p></td><td class="tblDescr"><p>
	处理程序拖</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-multipointhandler.html">MultiPointHandler</a></p></td><td class="tblDescr"><p>
	多点指针事件的抽象处理程序</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-pinchhandler.html">PinchHandler</a></p></td><td class="tblDescr"><p>
	捏手势处理程序</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-pointerdevicehandler.html">PointerDeviceHandler</a></p></td><td class="tblDescr"><p>
	具有设备特定约束的指针事件的抽象处理程序</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-pointerhandler.html">PointerHandler</a></p></td><td class="tblDescr"><p>
	指针事件的抽象处理程序</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-pointhandler.html">PointHandler</a></p></td><td class="tblDescr"><p>
	用于对单个接触点作出反应的处理程序</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-handlerpoint.html">HandlerPoint</a></p></td><td class="tblDescr"><p>
	一个事件点</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-singlepointhandler.html">SinglePointHandler</a></p></td><td class="tblDescr"><p>
	单点指针事件的抽象处理程序</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qml-qt-labs-handlers-taphandler.html">TapHandler</a></p></td><td class="tblDescr"><p>
	处理<span lang="zh-cn">敲击</span>和点击</p></td></tr>
</table></div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2018 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
